package com.tianya.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import com.tianya.myrule.MySelfRule;

/**
 * @program: cloud2020
 * @description
 * @author: tianya
 * @create: 2020-06-11 01:01
 **/
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "CLOUD-PAYMENT-SERVICE", configuration = {MySelfRule.class})
public class OrderMain8011 {

    public static void main(String[] args) {
        SpringApplication.run(OrderMain8011.class, args);
    }
}
